package com.hoshiibuy.customerOperation.entity.param;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 新增购物车购物信息记录表参数
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "新增购物车购物信息记录表", description = "新增购物车购物信息记录表")
public class CartAddParam implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户id，取自session，")
	private Long userId;

	@ApiModelProperty(value = "商品的id，取自表goods的goods_id")
	private Long goodsId;

	@ApiModelProperty(value = "商品的购买数量，在购物车时，实际库存不减少")
	private Long goodsQuantity;

}
